<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"/>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <title>用户登录</title>
</head>
<body>
<h1>用户登录</h1>
<form th:action="@{/user/login}" method="post">
    用户名：<input type="text" name="username"><br>
    密码 ：<input type="test" name="password"><br>
    请输入验证码：<input type="text" name="code"><img th:src="@{/user/getImage}"/><br>
    <input type="submit" value="登录">
</form>
<a th:href="@{/user/registerview}">点我注册</a>
</body>
</html>
